// 表格组件样式
table {
    width: 100%;
    table-layout: fixed;
    user-select: none;
    border-collapse: collapse;
    $row-height: 2.6rem;

    & thead {
        & tr {
            height: $row-height;

            & th {
                text-align: left;
                border-bottom: 1px solid var(--dividerColor);
                font-weight: 600;
                color: var(--textColor);
                padding: 0 12px;

                &:first-child {
                    text-align: center;
                }
            }
        }
    }

    & tbody {
        & tr {
            height: $row-height;
            transition: background-color 0.15s ease;

            & td {
                text-align: left;
                padding: 0 12px;
                border-bottom: 1px solid transparent;

                &:first-child {
                    text-align: center;
                }
            }

            &:nth-child(even) {
                background-color: var(--listEvenColor);
            }

            &:hover {
                background: var(--listHoverColor);
            }

            &[data-active="true"] {
                background: var(--listActiveColor);

            }
        }
    }
}

// Toast组件位置调整
.Toastify__toast-container--top-right {
    top: calc(var(--appHeaderHeight) + 1rem);
}

// iframe样式
iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}